package com.ruoyi.coal.modules.coalpile.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.coal.modules.coalpile.domain.CoalPileInfoEntity;
import com.ruoyi.coal.modules.coalpile.domain.CoalYardHistoryEntity;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CoalYardHistoryDao extends BaseMapper<CoalYardHistoryEntity> {
    @Select({"SELECT * FROM cp_coal_pile_info WHERE history_id = #{historyId}"})
    List<CoalPileInfoEntity> selectHistoryByYardId(@Param("historyId") Integer paramInteger);
}

